package com.carmanage.dao;

import java.util.List;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.carmanage.domain.Page;
import com.carmanage.domain.User;

public interface UserDao {
    
	public void addUser(User user);
	
	public List<User> findAllUser();
	
	public int deleteUserById(int i);
	
	public User findUserByName(String name);
	
	public User findUser(String username,String pasasword);

	public int findAllUserRecord();

	public List<User> findUserByPage(Page userPage);
}
